
#ifndef _D700MODBUS_H_
#define _D700MODBUS_H_

#include "stdlib.h"
#include <stdio.h>

void d700_modbus_init(void);
char* d700_modbus_read_param(const uint8_t slave_addr, const uint16_t param_num, uint16_t * data_value, const uint16_t reg_addr, const uint16_t nums); //read only one parameter
char* d700_modbus_set_param(const uint8_t slave_addr, const uint16_t param_num, const uint16_t data_value, const uint16_t reg_addr); //write only one parameter
//d700_modbus_param_monitor(); //monnitor the mechina status


#endif 